#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
using  std::cout;
using  std::endl;
using  std::cin;
//命名空间
namespace djy
{
	int x = 0;
	int y = 0;
	struct student
	{
		int id;
		char name[20];
	};
}
void testnamespace(int a = 0)
{
	djy::x = 6;
	djy::y = 7;
	struct djy::student s1;
	s1.id = 1234;
	strcpy(s1.name, "zhangsan");
	//输入对象   >> 流提取运算符
	cin >> djy::x >> djy::y >> s1.id >> s1.name;
	//输出对象  << 流插入运算符
	cout << djy::x << endl << djy::y << endl << s1.id << endl<< s1.name << endl;
	cout << a << endl;
	a = 10;
	cout << a << endl;


}
int main()
{
	testnamespace();
	
	return 0;
}